<ion-view view-title="打印设置">
    <ion-nav-buttons side="left">
        <button class="button back-button buttons icon ion-ios-arrow-left button-clear header-item" nav-direction="back"  ng-click="myGoBack()">返回</button>
    </ion-nav-buttons>
    <ion-nav-buttons side="right">
        <button class="button button-icon icon-left" ng-click="saveSettings()">保存</button>
    </ion-nav-buttons>
    <ion-content>

        <!--<a class="item"  ng-click="scanLy()">-->
            <!--添加打印机&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-->
        <!--</a>-->
        <div class="item item-input" ng-click="scanLy()">
            <div class="row" style="padding-left: 0px;">
                <i class="input-label" >添加打印机：</i>
                <input type="text" style="padding-right: 46px;" class="rightTxt" id="bluet" readonly>
            </div>
        </div>
        <li class="item item-toggle">
            打印发货人存根
            <label class="toggle" id="fhr">
                <input type="checkbox" ng-model="print.fhrcg">
                <div class="track">
                    <div class="handle"></div>
                </div>
            </label>
        </li>
        <li class="item item-toggle">
            打印物流公司存根
            <label class="toggle" id="wlgs">
                <input type="checkbox" ng-model="print.wlgscg">
                <div class="track">
                    <div class="handle"></div>
                </div>
            </label>
        </li>
        <li class="item item-toggle">
            打印货物标签
            <label class="toggle" id="hw">
                <input type="checkbox" ng-model="print.hwbq">
                <div class="track">
                    <div class="handle"></div>
                </div>
            </label>
        </li>
        <li class="item item-toggle">
            打印信息费
            <label class="toggle" id="xxf">
                <input type="checkbox" ng-model="print.xxf">
                <div class="track">
                    <div class="handle"></div>
                </div>
            </label>
        </li>
        <div class="item item-input item-select">
            <div class="row " style="padding-left: 0px;">
                <i class="input-label" >标签打印行为：</i>
                <select class="select col-20" id="hwdyxw">
                    <option selected value="2">自定义</option>
                    <option value="1">按件数</option>
                </select>
            </div>
        </div>
        <div class="item item-input">
            <div class="row" style="padding-left: 0px;">
                <i class="input-label" >存根标题：</i>
                <input type="text" style="padding-right: 46px;" class="rightTxt" ng-model="print.title" maxlength="6">
            </div>
        </div>
        <div class="item item-input">
            <div class="row" style="padding-left: 0px;">
                <i class="input-label" >客服电话：</i>
                <input type="tel" style="padding-right: 46px;" class="rightTxt" ng-model="print.kfdh">
            </div>
        </div>
        <div class="item item-input">
            <textarea type="text" placeholder="请输入40字以内责任条文" style="padding-right: 10px;min-height: 100px;" maxlength="40"  ng-model="print.zrtw" ng-change="changeZrtw(print.zrtw)"></textarea>
        </div>
    </ion-content>
</ion-view>
